<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>AUI快速完成布局</title>
    <!-- <link rel="stylesheet" type="text/css" href="../css/aui.css" /> -->


</head>

<body style="margin:0;">

    <div id="content">

        <dt class="u_i_form" style="text-align:center;background:#FAFAD2;height:35px;padding-top:8px;width:100%">请在这里修改您的个人资料！</dt>


        <div class="user_pass_box_form" id="goods_albums">
						<form id="myform">


						<!--<div class="sub_btn" style="margin-left:23rem;" name="uploadify" id="img1" >

							<img style="border-radius:50%;" src="<?php echo $this->userinfo['avatar'];?>" alt="" width="260" height="260" onerror="javascript:this.src='<?php echo THEME_STYLE_PATH;?>style/images/signIn_14.jpg'"/>
							<input type="hidden" name="avatar" value="<?php echo $this->userinfo['avatar'];?>" />

						</div><span style="font-size:1.7rem;margin-left:23rem;">建议上传头像大小100*100 </span>-->

							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								昵&nbsp;&nbsp;称：
								<input type="text" id="nickname" name="nickname" value="喜洋洋美羊羊" style="border:1px solid #ccc;width:75%;height:30px;font-size:20px;"/>

							</p>
							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								性&nbsp;&nbsp;别：
								<span><input type="radio" name="sex" value="2" {if $sex == '2'}checked="checked"{/if} style="width:20px;height:20px;"/></span>
								<span>男</span>&nbsp;
								<span><input type="radio" name="sex" {if $sex == '1'}checked="checked"{/if} value="1"  style="width:20px;height:20px;"/></span>
								<span>女</span>&nbsp;
								<span><input type="radio" name="sex" {if !$sex}checked="checked"{/if} value="0"  style="width:20px;height:20px;"/></span>
								<span>保密</span>
							</p>
							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								生&nbsp;&nbsp;日：
								<select name="year" id="year" class="c999999" style="font-size:20px;" onchange="getDates()" >
									<script language="javascript" type="text/javascript">
										var date=new Date();
										var year=date.getFullYear();
										var years = "<?php echo $year; ?>";
										for(var i=year;i>=year-50;i--){
											if (years != '') {
												if (i == years) {
													document.write("<option value="+years+" selected>"+years+"</option>");
												}else{
													document.write("<option value="+i+">"+i+"</option>");
												}
											}else{
											document.write("<option value="+i+">"+i+"</option>");
											}
										}
										function append(o,v){

										var option=new Option(v,v);
										o.options.add(option);
										}
										function getDates(){
										var y=document.getElementsByName("year")[0].value;
										var m=document.getElementsByName("month")[0].value;
										var day=document.getElementsByName("day")[0];
										day.innerHTML="";
										if(m==1 || m==3 || m==5 || m==7 || m==8 || m==10 || m==12){
										for(var j=1;j<=31;j++){
										append(day,j);
										}
										}
										else if(m==4 || m==6 || m==9 || m==11){
										for(var j=1;j<=30;j++){
										append(day,j);
										}
										}
										else if(m==2){
										var flag=true;
										flag=y%4==0&&y%100!=0||y%400==0;
										if(flag){
										for(var j=1;j<=29;j++){
										append(day,j);
										}
										}
										else{
										for(var j=1;j<=28;j++){
										append(day,j);
										}
										}
										}
										}
										</script>
								</select>
								<select name="month" class="c999999" style="font-size:20px;" onchange="getDates()" >
								<script language="javascript" type="text/javascript">
										var month = "<?php echo $month; ?>";
										for(var i=1;i<=12;i++){
											if (month != '') {
											if (i == month) {
												document.write("<option value="+month+" selected>"+month+"</option>");
											}else{
												document.write("<option value="+i+">"+i+"</option>");
											};

										}else{
											document.write("<option value="+i+">"+i+"</option>");

											}
										}
									</script>
								</select>
								<select name="day" class="c999999" style="font-size:20px;">
									<script language="javascript" type="text/javascript">
										var day = "<?php echo $day; ?>";
										for(var i=1;i<=31;i++){
											if (day != '') {
											if (i == day) {
												document.write("<option value="+day+" selected>"+day+"</option>");
											}else{
												document.write("<option value="+i+">"+i+"</option>");
											}

										}else{
												document.write("<option value="+i+">"+i+"</option>");
										}

										}
									</script>
								</select>

							</p>

							<!-- <style>
							option {font-size:5px;}
							</style>-->

							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								区&nbsp;&nbsp;域：
								<select name="province" class="c999999" style="font-size:20px;" id="province">
									<option value="-1">请选择</option>
									<option value="2">河南省</option>
                  <option value="2">河北省</option>
                  <option value="2">北京市</option>
								</select>

							</p>

              <!-- <p style="margin-left:2rem;font-size:2.5rem;margin-top:2.1rem;">
								区&nbsp;&nbsp;域:
								<select name="province" class="c999999;" id="province">
									<option value="-1">请选择</option>
									{loop $region $v}
									<option {if $v['linkageid'] == $provice}selected{/if} value="{$v['linkageid']}">{$v['name']}</option>
									{/loop}
								</select>

							</p>		 -->

							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								地&nbsp;&nbsp;址：
								<input type="text" id="r_address" name="receives[r_address]" value="河南省郑州市" style="border:1px solid #ccc;width:75%;height:30px;font-size:20px;"/>

							</p>
							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								收货人:
								<input type="text" id="r_name" name="receives[r_name]" value="喜洋洋" style="border:1px solid #ccc;width:75%;height:30px;font-size:20px;"/>

							</p>
							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								Q&nbsp;&nbsp;&nbsp;&nbsp;Q：
								<input type="text"  id="qq" name="qq" value="22222222222" style="border:1px solid #ccc;width:75%;height:30px;font-size:20px;"/>

							</p>
							<p style="margin-left:15px;margin-top:32px;font-size:20px;">
								电&nbsp;&nbsp;话：
								<input type="text"  id="r_phone" name="receives[r_phone]" value="11111111111" style="border:1px solid #ccc;width:75%;height:30px;font-size:20px;"/>

							</p>


						</form>
					</div>


    </div>

</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="./conf/config.js"></script>
<script type="text/javascript" src="./js/common.js"></script>
<script type="text/javascript" src="../script/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../script/doT.min.js"></script>
<script type="text/javascript">
    apiready = function() {

        fnGetAlipayBind();
        //fnGetAlipayBind
        // fnTryBind();


    };

    function fnGetAlipayBind() {

        var userInfo = $api.getStorage('userInfo');
        //获取数据app中存入的数据然后分配到模板中；
        var random = userInfo.random;
        var userid = userInfo.userid;

    }




</script>

</html>
